#!/bin/sh
. "$(dirname "$0")/_/husky.sh"


if npm run tsc-inspect
then
  if npm run prettier-list
  then
    exit 0
  else
    # Initial commit: diff against an empty tree object
    echo 请先格式化代码
    exit 1
  fi
else
	# Initial commit: diff against an empty tree object
	echo tsc-error
  exit 1
fi

